const TokenKey = 'vue_admin_template_token'
const userInfo = 'my_userInfo'
export function getToken() {
  return localStorage.getItem(TokenKey)
}

export function setToken(token) {
  localStorage.setItem(TokenKey, token)
}

export function removeToken() {
  localStorage.removeItem(TokenKey)
}
export function getuserInfo() {
  return localStorage.getItem(userInfo)
}

export function setuserInfo(info) {
  localStorage.setItem(userInfo, info)
}

export function removeuserInfo() {
  localStorage.removeItem(userInfo)
}
